package com.ktgj.customer.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 活动对象 mall_activity
 * 
 * @author ruoyi
 * @date 2022-05-30
 */
public class MallActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long activityId;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String activityName;

    /** 活动图片 */
    @Excel(name = "活动图片")
    private String imgPath;

    /** 展示时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "展示时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date showTime;

    /** 活动简介 */
    @Excel(name = "活动简介")
    private String introduce;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 是否审核 */
    @Excel(name = "是否审核")
    private String ifpass;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 销售单价 */
    @Excel(name = "销售单价")
    private BigDecimal salePrice;

    /** 会员价 */
    @Excel(name = "会员价")
    private BigDecimal memberPrice;

    /** 原价 */
    @Excel(name = "原价")
    private BigDecimal originalPrice;

    /** 库存 */
    @Excel(name = "库存")
    private Long stockCount;

    /** $column.columnComment */
    @Excel(name = "库存")
    private Long number;

    /** 活动类型 10团购 20秒杀 30组合商品 40权益兑换 */
    @Excel(name = "活动类型 10团购 20秒杀 30组合商品 40权益兑换")
    private Long typeId;

    /** 删除时间 */
    @Excel(name = "删除时间")
    private Date deleteTime;

    public void setActivityId(Long activityId) 
    {
        this.activityId = activityId;
    }

    public Long getActivityId() 
    {
        return activityId;
    }
    public void setActivityName(String activityName) 
    {
        this.activityName = activityName;
    }

    public String getActivityName() 
    {
        return activityName;
    }
    public void setImgPath(String imgPath) 
    {
        this.imgPath = imgPath;
    }

    public String getImgPath() 
    {
        return imgPath;
    }
    public void setShowTime(Date showTime) 
    {
        this.showTime = showTime;
    }

    public Date getShowTime() 
    {
        return showTime;
    }
    public void setIntroduce(String introduce) 
    {
        this.introduce = introduce;
    }

    public String getIntroduce() 
    {
        return introduce;
    }
    public void setBeginTime(Date beginTime) 
    {
        this.beginTime = beginTime;
    }

    public Date getBeginTime() 
    {
        return beginTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setIfpass(String ifpass) 
    {
        this.ifpass = ifpass;
    }

    public String getIfpass() 
    {
        return ifpass;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setSalePrice(BigDecimal salePrice) 
    {
        this.salePrice = salePrice;
    }

    public BigDecimal getSalePrice() 
    {
        return salePrice;
    }
    public void setMemberPrice(BigDecimal memberPrice) 
    {
        this.memberPrice = memberPrice;
    }

    public BigDecimal getMemberPrice() 
    {
        return memberPrice;
    }
    public void setOriginalPrice(BigDecimal originalPrice) 
    {
        this.originalPrice = originalPrice;
    }

    public BigDecimal getOriginalPrice() 
    {
        return originalPrice;
    }
    public void setStockCount(Long stockCount) 
    {
        this.stockCount = stockCount;
    }

    public Long getStockCount() 
    {
        return stockCount;
    }
    public void setNumber(Long number) 
    {
        this.number = number;
    }

    public Long getNumber() 
    {
        return number;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }

    public Date getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("activityId", getActivityId())
            .append("activityName", getActivityName())
            .append("imgPath", getImgPath())
            .append("showTime", getShowTime())
            .append("introduce", getIntroduce())
            .append("beginTime", getBeginTime())
            .append("endTime", getEndTime())
            .append("ifpass", getIfpass())
            .append("sort", getSort())
            .append("salePrice", getSalePrice())
            .append("memberPrice", getMemberPrice())
            .append("originalPrice", getOriginalPrice())
            .append("stockCount", getStockCount())
            .append("number", getNumber())
            .append("typeId", getTypeId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
